<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="AddComment.aspx.vb" Inherits="AddComment" title="SignKids: Add Comments" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="post">
         <h2 class="title"><span>Add a Comment</span></h2>
	     <div class="story">	
            <asp:TextBox ID="txtCommentBody" runat="server" Height="114px" Rows="13" TextMode="MultiLine" Width="430px"></asp:TextBox>
            <br />
             <br />
            <asp:Button ID="btnSubmitComment" runat="server" Text="Submit Comment"/>&nbsp;
   
             <asp:Label ID="lblFeedback" runat="server" ForeColor="#80FF80" Text="Comment Added" Visible="False"></asp:Label><br /><br />
            
             <asp:Repeater ID="Repeater1" runat="server" DataSourceID="ObjectDataSource1">
                 <ItemTemplate>
                    <h2 class="articletitle"><span><%# Eval("Title")%></span></h2>
			        <h3 class="date"><%#Eval("PostDate")%></h3>
			         <h3 class="date">Posted On: <%#Eval("PostDate")%></h3>
			        <h2 class="user">Posted By: <%#Eval("UserID")%></h2>
			            <div class="story">
				            <p><%#Eval("Text")%></p>
			            </div>
			        </ItemTemplate>
             </asp:Repeater>
             <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetArticleByID"
                 TypeName="ArticleObj">
                 <SelectParameters>
                     <asp:QueryStringParameter DefaultValue="0" Name="AtcleID" QueryStringField="ArticleID"
                         Type="Int32" />
                 </SelectParameters>
             </asp:ObjectDataSource>
         </div>
    </div>
</asp:Content>

